package com.interview.feign;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * Created by fangjicai on 2020/4/17.
 */
//@Primary //指定子类优先级
//@Service
public class ProviderApiImpl implements ProviderApi{
    @Override
    public String getName(String id) {
        return "ProviderApiImpl test";
    }
}
